package cn.iocoder.yudao.module.shop.controller.admin.shopOpenTime.vo;

import lombok.*;

import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 商户营业时间分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ShopOpenTimePageReqVO extends PageParam {

    @Schema(description = "店铺id", example = "1")
    private Long shopId;

    @Schema(description = "周期")
    private String day;


    @Schema(description = "是否休息日")
    private Boolean isCloseDay;

    @Schema(description = "是否24小时营业")
    private Boolean isOpenAllDay;

    @Schema(description = "备注")
    private String remarks;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}